<table class="rpdatatable" width="637" border="0" cellspacing="0" cellpadding="0" style="border: #e77d1d 1px solid; margin-bottom: 0px;">
		<tr>
			<th colspan="2">General Financing Details</th>
		</tr>
		<tr>
			<td>Proposed System Budget</td>
			<td width="40%" style="padding-right:10px;text-align:right;">
				<?php if ( get_post_meta($post->ID, 'RPBudget', true) ) { ?>
                	<?php
                    	$budget = get_post_meta($post->ID, 'RPBudget', true);
						$budgetfix = number_format($budget);
					?>
					$ <?php echo $budgetfix ; ?>
            	<?php } else { ?>
					Unknown
				<?php } ?>
            </td>
		</tr>
		<tr>
			<td>Financial Distribution</td>
			<td width="40%">
            	Loans:
            	<span class="financeright" style="padding-right:10px;text-align:right;">
                	<?php if ( get_post_meta($post->ID, 'RPLoansPercent', true) ) { ?>
						<?php meta('RPLoansPercent'); ?>%
                    <?php } else { ?>
                    	Unknown
					<?php } ?>
				</span><br />
			  	Federal Credit:
                <span class="financeright" style="padding-right:10px;text-align:right;">
                	<?php if ( get_post_meta($post->ID, 'RPFederalPercent', true) ) { ?>
						<?php meta('RPFederalPercent'); ?>%
                    <?php } else { ?>
                    	Unknown
					<?php } ?>
				</span><br />
				State/Local Credit:
                <span class="financeright" style="padding-right:10px;text-align:right;">
                	<?php if ( get_post_meta($post->ID, 'RPStatePercent', true) ) { ?>
						<?php meta('RPStatePercent'); ?>%
                    <?php } else { ?>
                    	Unknown
					<?php } ?>
				</span><br />
				Cash / Other:
                <span class="financeright" style="padding-right:10px;text-align:right;">
                	<?php if ( get_post_meta($post->ID, 'RPCashPercent', true) ) { ?>
						<?php meta('RPCashPercent'); ?>%
                    <?php } else { ?>
                    	Unknown
					<?php } ?>
                </span></td>
		</tr>
</table>
<table class="rpdatatable" width="637" border="0" cellspacing="0" cellpadding="0" style="border: #e77d1d 1px solid; margin-bottom: 0px;">
		<tr>
			<th colspan="2">Solar System Costs</th>
		</tr>
		<tr>
			<td>Solar Materials Cost</td>
			<td width="40%" style="padding-right:10px;text-align:right;">
            	$ <?php echo $materialsfix ; ?> (50%)
            </td>
		</tr>
		<tr>
			<td>Installation Cost</td>
			<td width="40%" style="padding-right:10px;text-align:right;">
            	$ <?php echo $laborfix ; ?> (40%)
            </td>
		</tr>
		<tr>
			<td>Engineering Services Cost</td>
			<td width="40%" style="padding-right:10px;text-align:right;">
          		$ <?php echo $engineeringfix ; ?> (10%)
            </td>
		</tr>
		<tr>
			<td>Additional Costs</td>
			<td width="40%" style="padding-right:10px;text-align:right;">
          		<?php if ( get_post_meta($post->ID, 'RPOtherCosts', true) ) { ?>
          			$ <?php meta('RPOtherCosts'); ?>
				<?php } else { ?>
					Unknown
				<?php } ?>
            </td>
		</tr>
	</table>
	<table class="rpdatatable" width="637" border="0" cellspacing="0" cellpadding="0" style="border: #e77d1d 1px solid; margin-bottom: 0px;">
		<tr>
			<th colspan="2">System Savings</th>
		</tr>
		<tr>
			<td>Anticipated 15 Year Energy Savings</td>
			<td width="40%" style="padding-right:10px;text-align:right;">
                <?php if(get_post_meta($post->ID, 'RP15YearSavings', true)) { ?>
					$ <?php meta('RP15YearSavings'); ?>
				<?php } else { ?>
					$ <?php echo $echosavings ; ?>
				<?php } ?>
            </td>
		</tr>
		<tr>
			<td>Federal Rebates &amp; Credits</td>
			<td width="40%" style="padding-right:10px;text-align:right;">
				$ <?php
					$federalcredit = $budget * 0.3;
					$federalcreditfix = number_format($federalcredit);
					echo $federalcreditfix ;
				?> (30%)
            </td>
		</tr>
        <!--
		<tr>
			<td>State / Local Rebates &amp; Credits</td>
			<td width="40%" style="padding-right:10px;text-align:right;">
				<?php // if ( get_post_meta($post->ID, 'RPStateAmount', true) ) { ?>
					$ <?php // meta('RPStateAmount'); ?> | <?php // meta('RPStatePercent'); ?>%
                <?php // } else { ?>
                	Unknown
            	<?php // } ?>
           </td>
	  </tr>
      -->
</table>